import request from '@/utils/request'

// 查询简历-所有证书列表列表
export function listResumeAllCert(query) {
  return request({
    url: '/allCert/resumeAllCert/list',
    method: 'get',
    params: query
  })
}

// 查询简历-所有证书列表详细
export function getResumeAllCert(id) {
  return request({
    url: '/allCert/resumeAllCert/' + id,
    method: 'get'
  })
}

// 保存简历-所有证书列表
export function saveResumeAllCert(data) {
  return request({
    url: '/allCert/resumeAllCert/save',
    method: 'post',
    data: data
  })
}

// 删除简历-所有证书列表
export function delResumeAllCert(id) {
  return request({
    url: '/allCert/resumeAllCert/' + id,
    method: 'delete'
  })
}

// 导出简历-所有证书列表
export function exportResumeAllCert(query) {
  return request({
    url: '/allCert/resumeAllCert/export',
    method: 'get',
    params: query
  })
}
